package com.pap.upload.file.auto.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.upload.file.auto.entity.BaseFile;;

public interface BaseFileMapper extends PapBaseMapper<BaseFile> {
	int deleteByPrimaryKey(String id);

	int selectCountByMap(Map<Object, Object> map);

	List<BaseFile> selectListByMap(Map<Object, Object> map);

	BaseFile selectByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int insert(BaseFile record);

	int insertSelective(BaseFile record);

	BaseFile selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(BaseFile record);

	int updateByPrimaryKey(BaseFile record);
}